import 'package:flutter/material.dart';
import 'package:jspang/model/categoryGoodsList.dart';


class CategoryGoodsListProvider with ChangeNotifier{
  List<CategoryListData> goodsList = [];

  //点击大类时候更换商品列表
  getGoodsList(List<CategoryListData> list) {
    goodsList=list ;
    notifyListeners();
  }
  getModeList(List<CategoryListData> list) {
    goodsList.addAll(list);
    notifyListeners();
  }
}
